﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagerService.Interface
{
     [ServiceContract]
    interface IPhongBan
    {
        [OperationContract]
        IEnumerable<PHONGBAN> GetByAllPhongBan();

        [OperationContract]
        String InsertPhongBan(PHONGBAN data);

        [OperationContract]
        String UpdatePhongBan(PHONGBAN data);

        [OperationContract]
        String DeletePhongBan(string id);

        [OperationContract]
        IEnumerable<PHONGBAN> GetByTopPhongBan(string _top, string _where, string _order);

        [OperationContract]
        String ApprovePhongBan(PHONGBAN data);
    }
}
